Steps to start, stop and restart the network serviceOpen the terminal window on your system and run the ‘su’ command on the terminal to log in as the root user.There are the following two ways through which you can start, stop or restart network service:Use of NetworkManager serviceUse of nmcli toolNow, we will explore each way one by one in the following tutorial:Use of NetworkManager serviceTo start a network service on the RockyLinux 8, you will run the below-given command:$sudo systemctl start NetworkManager.serviceThe above-mentioned command is used to start a network service on RockyLinux 8.To stop a network service on the RockyLinux 8, you need to run the below-mentioned command:$sudo systemctl stop NetworkManager.serviceTo restart a network service, you need to execute the following command:$sudo systemctl restart NetworkManager.serviceUse of nmcli toolThe nmcli is a tool or utility that is used for managing the NetworkManager services through the terminal.Note: Before starting to use nmcli utility, it is noted that do not try to execute ‘$nmcli networking off’ for those systems that are coected remotely with others. This command will stop or disable the NetworkManager settings and you will discoect from the network coection.To tu on the network services, you will type the following command on the terminal in RockyLinux 8.$sudo nmcli networking onTo stop or tu off the network services, you will execute the following command on the terminal.$sudo nmcli networ
برچسب:
نویسنده: مهسا حکیمی
Different methods to disable IPv6First, let's check that ipv6 is enabled:[foc@rocky9 ~]$ ip a
2: enp1s0: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:01:bc:2a brd ff:ff:ff:ff:ff:ff
inet 192.168.122.238/24 brd 192.168.122.255 scope global dynamic noprefixroute enp1s0
valid_lft 2273sec preferred_lft 2273sec
inet6 fe80::5054:ff:fe01:bc2a/64 scope link noprefixroute
valid_lft forever preferred_lft forever
The information expressed with inet6 in the output we get with the ip command belongs to ipv6. Let's look with sysctl command:[foc@rocky9 ~]$ sysctl -a | grep -i ipv6
net.ipv6.auto_flowlabels = 1
net.ipv6.bindv6only = 0
net.ipv6.calipso_cache_bucket_size = 10
net.ipv6.calipso_cache_enable = 1
net.ipv6.conf.all.accept_dad = 0
...Many values of ipv6 are displayed in the output. This indicates that ipv6 is enabled on the system.ALSO READ:How to install EPEL Repository Rocky Linux? [SOLVED]Method-1: Disable IPv6 with GUIIf you are using a server with a GUI, you can lea how to disable ipv6 in this step. Go to ipv6 settings in Settings > Network > Wired > IPv6. Then you can disable ipv6 with Disable > Apply.Activate the changes by tuing the network on/off.You have simply and successfully disabled ipv6 from the GUI.Method-2: Disable IPv6 with nmtuiThere are several alteatives to disable ipv6 from the terminal screen. One of them is nmtui. Invoke nmtui with sudo in terminal:Advertisement[foc@rocky9 ~]$ sudo nm
برچسب:
نویسنده: مهسا حکیمی
برچسب:
نویسنده: مهسا حکیمی
http://speedcheck.ir https://speedtest.hiweb.ir https://www.speedtest.net/ https://fast.com/
برچسب:
نویسنده: مهسا حکیمی
Reading text global resources…Done reading text global resources link
برچسب:
نویسنده: مهسا حکیمی